﻿using Sharp.Domain.Model;
using Sharp.Infrastructure;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp.Domain.PlatformBoundedContext.PlatformModule.Aggregates
{
    public class AuditBackupLog : IAggregateRoot, ILogCreatedEntity
    {
        public AuditBackupLog()
        {
            CreatedTime = DateTime.Now;
        }
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { get; set; }
        public string EntityName { get; set; }
        public string RecordId { get; set; }
        public string Data { get; set; }
        public DateTime? CreatedTime { get; set; }
        public int? CreatedUserId { get; set; }
    }
}